import type { CPU, GPU, RAM, Motherboard, Storage, PowerSupply, Case, CpuCooler } from '../types/components';

// CPU数据
export const cpus: CPU[] = [
  {
    id: 'cpu1',
    name: 'Intel Core i9-13900K',
    brand: 'Intel',
    coreCount: 24,
    threadCount: 32,
    baseFrequency: 3.0,
    boostFrequency: 5.8,
    socketType: 'LGA1700',
    tdp: 125,
    price: 4599,
    performanceScore: 95,
    image: 'https://picsum.photos/id/1/500/300'
  },
  {
    id: 'cpu2',
    name: 'AMD Ryzen 9 7950X',
    brand: 'AMD',
    coreCount: 16,
    threadCount: 32,
    baseFrequency: 4.5,
    boostFrequency: 5.7,
    socketType: 'AM5',
    tdp: 170,
    price: 4399,
    performanceScore: 93,
    image: 'https://picsum.photos/id/2/500/300'
  },
  {
    id: 'cpu3',
    name: 'Intel Core i5-13600K',
    brand: 'Intel',
    coreCount: 14,
    threadCount: 20,
    baseFrequency: 3.5,
    boostFrequency: 5.1,
    socketType: 'LGA1700',
    tdp: 125,
    price: 2199,
    performanceScore: 80,
    image: 'https://picsum.photos/id/3/500/300'
  },
  {
    id: 'cpu4',
    name: 'AMD Ryzen 5 7600X',
    brand: 'AMD',
    coreCount: 6,
    threadCount: 12,
    baseFrequency: 4.7,
    boostFrequency: 5.3,
    socketType: 'AM5',
    tdp: 105,
    price: 1799,
    performanceScore: 78,
    image: 'https://picsum.photos/id/4/500/300'
  }
];

// GPU数据
export const gpus: GPU[] = [
  {
    id: 'gpu1',
    name: 'NVIDIA GeForce RTX 4090',
    brand: 'NVIDIA',
    memory: 24,
    memoryType: 'GDDR6X',
    coreClock: 2230,
    boostClock: 2520,
    tdp: 450,
    price: 12999,
    performanceScore: 98,
    image: 'https://picsum.photos/id/10/500/300'
  },
  {
    id: 'gpu2',
    name: 'AMD Radeon RX 7900 XTX',
    brand: 'AMD',
    memory: 24,
    memoryType: 'GDDR6',
    coreClock: 2300,
    boostClock: 2525,
    tdp: 355,
    price: 8999,
    performanceScore: 92,
    image: 'https://picsum.photos/id/11/500/300'
  },
  {
    id: 'gpu3',
    name: 'NVIDIA GeForce RTX 4070 Ti',
    brand: 'NVIDIA',
    memory: 12,
    memoryType: 'GDDR6X',
    coreClock: 2610,
    boostClock: 2760,
    tdp: 285,
    price: 6199,
    performanceScore: 85,
    image: 'https://picsum.photos/id/12/500/300'
  },
  {
    id: 'gpu4',
    name: 'AMD Radeon RX 7600',
    brand: 'AMD',
    memory: 8,
    memoryType: 'GDDR6',
    coreClock: 2250,
    boostClock: 2655,
    tdp: 165,
    price: 2599,
    performanceScore: 70,
    image: 'https://picsum.photos/id/13/500/300'
  }
];

// 内存数据
export const rams: RAM[] = [
  {
    id: 'ram1',
    name: 'Corsair Vengeance RGB DDR5 32GB (2x16GB) 6000MHz',
    capacity: 32,
    type: 'DDR5',
    frequency: 6000,
    modules: 2,
    price: 1499,
    performanceScore: 90,
    image: 'https://picsum.photos/id/20/500/300'
  },
  {
    id: 'ram2',
    name: 'G.Skill Trident Z5 RGB 16GB (2x8GB) 6400MHz',
    capacity: 16,
    type: 'DDR5',
    frequency: 6400,
    modules: 2,
    price: 999,
    performanceScore: 88,
    image: 'https://picsum.photos/id/21/500/300'
  },
  {
    id: 'ram3',
    name: 'Kingston FURY Beast 32GB (2x16GB) 3600MHz',
    capacity: 32,
    type: 'DDR4',
    frequency: 3600,
    modules: 2,
    price: 899,
    performanceScore: 82,
    image: 'https://picsum.photos/id/22/500/300'
  },
  {
    id: 'ram4',
    name: 'Crucial Ballistix 16GB (2x8GB) 3200MHz',
    capacity: 16,
    type: 'DDR4',
    frequency: 3200,
    modules: 2,
    price: 499,
    performanceScore: 75,
    image: 'https://picsum.photos/id/23/500/300'
  }
];

// 主板数据
export const motherboards: Motherboard[] = [
  {
    id: 'mb1',
    name: 'ASUS ROG Maximus Z790 Hero',
    socketType: 'LGA1700',
    chipset: 'Z790',
    memorySlots: 4,
    memoryType: 'DDR5',
    formFactor: 'ATX',
    price: 3699,
    performanceScore: 95,
    image: 'https://picsum.photos/id/30/500/300'
  },
  {
    id: 'mb2',
    name: 'MSI MPG X670E Carbon WiFi',
    socketType: 'AM5',
    chipset: 'X670E',
    memorySlots: 4,
    memoryType: 'DDR5',
    formFactor: 'ATX',
    price: 2999,
    performanceScore: 92,
    image: 'https://picsum.photos/id/31/500/300'
  },
  {
    id: 'mb3',
    name: 'Gigabyte B760I AORUS PRO',
    socketType: 'LGA1700',
    chipset: 'B760',
    memorySlots: 2,
    memoryType: 'DDR5',
    formFactor: 'ITX',
    price: 1799,
    performanceScore: 85,
    image: 'https://picsum.photos/id/32/500/300'
  },
  {
    id: 'mb4',
    name: 'ASRock B650M Pro RS',
    socketType: 'AM5',
    chipset: 'B650',
    memorySlots: 4,
    memoryType: 'DDR5',
    formFactor: 'Micro-ATX',
    price: 1299,
    performanceScore: 80,
    image: 'https://picsum.photos/id/33/500/300'
  }
];

// 存储数据
export const storages: Storage[] = [
  {
    id: 'storage1',
    name: 'Samsung 990 PRO 2TB NVMe SSD',
    type: 'SSD',
    capacity: 2000,
    readSpeed: 7450,
    writeSpeed: 6900,
    price: 1699,
    performanceScore: 95,
    image: 'https://picsum.photos/id/40/500/300'
  },
  {
    id: 'storage2',
    name: 'Western Digital Black SN850X 1TB NVMe SSD',
    type: 'SSD',
    capacity: 1000,
    readSpeed: 7300,
    writeSpeed: 6300,
    price: 899,
    performanceScore: 92,
    image: 'https://picsum.photos/id/41/500/300'
  },
  {
    id: 'storage3',
    name: 'Crucial P3 Plus 2TB NVMe SSD',
    type: 'SSD',
    capacity: 2000,
    readSpeed: 5000,
    writeSpeed: 4200,
    price: 1099,
    performanceScore: 85,
    image: 'https://picsum.photos/id/42/500/300'
  },
  {
    id: 'storage4',
    name: 'Seagate Barracuda 4TB HDD',
    type: 'HDD',
    capacity: 4000,
    readSpeed: 210,
    writeSpeed: 200,
    price: 499,
    performanceScore: 60,
    image: 'https://picsum.photos/id/43/500/300'
  }
];

// 电源数据
export const powerSupplies: PowerSupply[] = [
  {
    id: 'psu1',
    name: 'Corsair HX1000i Platinum 1000W',
    wattage: 1000,
    efficiency: '80+ Platinum',
    modular: 'Full',
    price: 1999,
    performanceScore: 95,
    image: 'https://picsum.photos/id/50/500/300'
  },
  {
    id: 'psu2',
    name: 'EVGA SuperNOVA 850 G5 850W',
    wattage: 850,
    efficiency: '80+ Gold',
    modular: 'Full',
    price: 1099,
    performanceScore: 90,
    image: 'https://picsum.photos/id/51/500/300'
  },
  {
    id: 'psu3',
    name: 'be quiet! Straight Power 11 750W',
    wattage: 750,
    efficiency: '80+ Gold',
    modular: 'Full',
    price: 899,
    performanceScore: 88,
    image: 'https://picsum.photos/id/52/500/300'
  },
  {
    id: 'psu4',
    name: 'Antec NeoECO 650M 650W',
    wattage: 650,
    efficiency: '80+ Bronze',
    modular: 'Semi',
    price: 499,
    performanceScore: 80,
    image: 'https://picsum.photos/id/53/500/300'
  }
];

// 机箱数据
export const pcCases: Case[] = [
  {
    id: 'case1',
    name: 'Lian Li O11 Dynamic EVO',
    formFactor: 'ATX',
    maxGpuLength: 420,
    maxCpuCoolerHeight: 167,
    price: 999,
    performanceScore: 92,
    image: 'https://picsum.photos/id/60/500/300'
  },
  {
    id: 'case2',
    name: 'Fractal Design Meshify 2',
    formFactor: 'ATX',
    maxGpuLength: 340,
    maxCpuCoolerHeight: 185,
    price: 799,
    performanceScore: 90,
    image: 'https://picsum.photos/id/61/500/300'
  },
  {
    id: 'case3',
    name: 'NZXT H510 Flow',
    formFactor: 'ATX',
    maxGpuLength: 380,
    maxCpuCoolerHeight: 165,
    price: 599,
    performanceScore: 85,
    image: 'https://picsum.photos/id/62/500/300'
  },
  {
    id: 'case4',
    name: 'ASUS ROG Strix Helios GX601',
    formFactor: 'ATX',
    maxGpuLength: 420,
    maxCpuCoolerHeight: 180,
    price: 1699,
    performanceScore: 95,
    image: 'https://picsum.photos/id/63/500/300'
  }
];

// CPU散热器数据
export const cpuCoolers: CpuCooler[] = [
  {
    id: 'cooler1',
    name: 'Noctua NH-D15 chromax.black',
    type: 'Air',
    compatibility: ['LGA1700', 'AM5', 'AM4', 'LGA1200'],
    height: 165,
    tdpSupport: 250,
    price: 599,
    performanceScore: 92,
    image: 'https://picsum.photos/id/70/500/300'
  },
  {
    id: 'cooler2',
    name: 'NZXT Kraken X73 RGB 360mm',
    type: 'Liquid',
    compatibility: ['LGA1700', 'AM5', 'AM4', 'LGA1200'],
    height: 122,
    tdpSupport: 300,
    price: 1299,
    performanceScore: 95,
    image: 'https://picsum.photos/id/71/500/300'
  },
  {
    id: 'cooler3',
    name: 'be quiet! Dark Rock Pro 4',
    type: 'Air',
    compatibility: ['LGA1700', 'AM5', 'AM4', 'LGA1200'],
    height: 167,
    tdpSupport: 250,
    price: 549,
    performanceScore: 90,
    image: 'https://picsum.photos/id/72/500/300'
  },
  {
    id: 'cooler4',
    name: 'Corsair iCUE H150i ELITE CAPELLIX 360mm',
    type: 'Liquid',
    compatibility: ['LGA1700', 'AM5', 'AM4', 'LGA1200'],
    height: 135,
    tdpSupport: 300,
    price: 1199,
    performanceScore: 94,
    image: 'https://picsum.photos/id/73/500/300'
  }
];